package com.qianji.petmall.ware.feign;

import com.qianji.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author liang zai
 * @date 2022/5/12 15:24
 * @description
 */
@FeignClient("petmall-order")
public interface OrderFeignService {
    @GetMapping("/order/order/status/{orderSn}")
    R getOrderItemStatus(@PathVariable("orderSn") String orderSn);
}
